package com.miyi.app;

import static spark.SparkBase.externalStaticFileLocation;

import com.miyi.controller.HelloController;
import com.miyi.core.App;
/**
 * Hello world!
 */
public class Run 
{
    public static void main( String[] args )
    {
    	//静态文件,不要放在项目文件夹里面
    	externalStaticFileLocation("d://spark//public");
    	
    	//路由
    	App.Route("/hello",HelloController.class);
    	
    	App.Run();
    	
    }

    
}


